package com.cai.oamanager.service.impl;

import com.cai.oamanager.dao.PositionDao;
import com.cai.oamanager.entity.Position;
import com.cai.oamanager.service.PositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 18 : 05
 * @package：com.cai.oamanager.service.impl
 */
@Service
public class PositionServiceImpl implements PositionService {

    @Autowired
    private PositionDao positionDao;
    @Override
    public List<Position> getAllPosition() {
        return positionDao.getAllPosition();
    }
}
